package com.purchase.ml.entity.admin;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * <p>
 *
 * </p>
 *
 * @author kyyang
 * Created 2021-01-18
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("mlpay_admin_withdraw")
@ApiModel(value = "MlpayAdminWithdraw对象", description = "")
public class MlpayAdminWithdraw implements Serializable {


    /**
     * 唯一标识
     */
    @ApiModelProperty(value = "唯一标识")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 创建时间
     */
    @ApiModelProperty(value = "创建时间")
    @TableField("create_at")
    private Date createAt;

    /**
     * 更新时间
     */
    @ApiModelProperty(value = "更新时间")
    @TableField("update_at")
    private Date updateAt;

    /**
     * 管理员账号
     */
    @ApiModelProperty(value = "管理员账号")
    @TableField("sys")
    private String acc;

    /**
     * 类型id
     */
    @ApiModelProperty(value = "类型id")
    @TableField("pay_type_id")
    private Long payTypeId;

    /**
     * 货币
     */
    @ApiModelProperty(value = "货币")
    @TableField("currency")
    private String currency;

    /**
     * 系统单号
     */
    @ApiModelProperty(value = "系统单号")
    @TableField("soid")
    private Long soid;

    /**
     * 交易成本费率
     */
    @ApiModelProperty(value = "交易成本费率")
    @TableField("draw_amount")
    private BigDecimal drawAmount;

    /**
     * 银行卡号
     */
    @ApiModelProperty(value = "银行卡号")
    @TableField("banck_num")
    private Long banckNum;

    /**
     * 货币
     */
    @ApiModelProperty(value = "货币")
    @TableField("bank_swift")
    private String bankSwift;

    /**
     * 银行卡持有者
     */
    @ApiModelProperty(value = "银行卡持有者")
    @TableField("bank_owner")
    private String bankOwner;

    /**
     * 状态
     */
    @ApiModelProperty(value = "状态")
    @TableField("state")
    private String state;


}
